package com.punch.common.vo.course;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * CourseDTO-教室信息 表单
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/7/21
 */
@Data
public class ClassRoomVO implements Serializable {
    /**
     * 教室id
     */
    @ApiModelProperty(name = "classRoomId", notes = "教室id")
    private Long classRoomId;
    /**
     * 教室名称
     */
    @ApiModelProperty(name = "class_room_name", notes = "教室名称")
    @NotBlank(message = "教室名称不能为空")
    private String classRoomName;

    /**
     * 教室容纳人数 （人）
     */
    @ApiModelProperty(name = "classRoomCapacity", notes = "教室容纳人数 （人）")
    @NotNull(message = "教室名称不能为空")
    private Integer classRoomCapacity;

    /**
     * 是否禁用 0：禁用  1启用
     */
    @ApiModelProperty(value = "0：禁用  1启用")
    private Integer enabled;

    /**
     * 所属地区ID
     */
    @ApiModelProperty(name = "areaId", notes = "所属地区ID")
    private Long areaId;

    /**
     * 所属地区名称
     */
    @ApiModelProperty(name = "areaName", notes = "所属地区名称")
    private String areaName;


}
